<?php
	require_once("oh.framework/oh.framework.php");
	oh("dtd");
?>
<hmtl>
<head>
<style type="text/css">
	body {
		margin:0;
		padding:0;
	}
	textarea {
	}
	.l {
		float:left;
		width:600px;
	}
	.r {
		float:right;
		width:100px;
		text-align:right;
	}
	#header {
		font-family:Arial,Helvetica,sans-serif;
		color: #fff;
		background:#507AAA;
		overflow:hidden;
	}
	#header div {
		margin:4px;
	}
	#header a {
		color:#fff;
	}
</style>
</head>
<body>
<div id="header">
	<div class="l">
		<?php echo dirname(__FILE__)."/".$_GET['open']; ?>
	</div>
	<div class="r">
		<a target="_blank" href="<?php echo $_GET['open']; ?>">visualizza</a>
	</div>
</div>
<?php
	oh("editarea")->draw(dirname(__FILE__)."/".$_GET['open']);
?>
</body>
</html>
